package com.gable.exhibition.service;

import com.gable.common.util.ReturnResultUtil;
import com.gable.exhibition.view.SupplierView;

/**
 * Created by Lesson on 2018/3/16.
 */
public interface SupplierService {

    /**
     * 获取供应商列表
     * @param supplierView
     * @Create user jacky
     * @Create date 2018/3/16
     * @return
     */
    ReturnResultUtil querySupplierList(SupplierView supplierView);

    /**
     * 添加或者修改供应商信息
     * @param supplierView
     * @Create user jacky
     * @Create date 2018/3/16
     * @return
     */
    ReturnResultUtil addOrUpdateSupplier(SupplierView supplierView);

    /**
     * 获取供应商详情
     * @param supplierId
     * @Create user jacky
     * @Create date 2018/3/16
     * @return
     */
    ReturnResultUtil querySupplierInfo(Long supplierId);

    /**
     * 根据厂商id获取供应商列表信息
     * @param manufacturerId
     * @Create user jacky
     * @Create date 2018/3/16
     * @return
     */
    ReturnResultUtil querySupplierListByManuId(Long manufacturerId);
}
